package edu.zut.cs.network.exercise.practice.object;

public class RectangleManagerImpl implements RectangleManager{

	Rectangle rectangle = new Rectangle(10.0, 20.1, "red");
	
	
	public double findArea(double height, double width) {
		
		return rectangle.getHeight()*rectangle.getWidth();
	}
	
	public double findPerimeter(double height, double width) {

		return rectangle.getHeight()*2 + rectangle.getWidth()*2;
	}
	
}
